#include "EntCube.h"

EntCube::EntCube() {

}

void EntCube::think() {

}

void EntCube::draw() {
	glColor3d(1,0,0);
	glBegin(GL_TRIANGLE_STRIP);

	glVertex3d( 8,  8,  8);
	glVertex3d( 8,  8, -8);

	glVertex3d(-8,  8,  8);
	glVertex3d(-8,  8, -8);
	
	glVertex3d(-8, -8,  8);
	glVertex3d(-8, -8, -8);

	glVertex3d( 8, -8,  8);
	glVertex3d( 8, -8, -8);

	glVertex3d( 8,  8,  8);
	glVertex3d( 8,  8, -8);

	glEnd();

	glBegin(GL_LINES);
	glColor3d(1,0,0);
	glVertex3d(0,0,0);
	glVertex3d(16,0,0);
	glColor3d(0,1,0);
	glVertex3d(0,0,0);
	glVertex3d(0,16,0);
	glColor3d(0,0,1);
	glVertex3d(0,0,0);
	glVertex3d(0,0,16);
	glEnd();

}

